package com.ltu.timkor6.gamesite.users.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.ltu.timkor6.gamesite.shared.UserInfo;

@RemoteServiceRelativePath("users")
public interface UsersService extends RemoteService
{
	boolean checkUser();
	
	SignInStatus signIn(String[] credentials);
	
	SignInStatus signOut();
	
	UserInfo getUserInfo();
	
	RegisterStatus register(UserInfo userInfo);
	
	SignInStatus forgotten(String username);
	
	SignInStatus profile(UserInfo userInfo);
}
